Skip to content

feat(stylus): added crate for types shared across Wormhole and Pyth #2815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

ayushboss
Copy link
Contributor

Summary

Added a new crate that defines types for structs shared between Wormhole and Pyth stylus contracts

Rationale

Allows for more flexible refactoring of structs in the future.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

The crate currently builds. I will test it further when integrating it into their respective libraries.

Copy link

vercel bot commented Jun 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 6:28pm

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ik this is a draft PR but wondering why we want to extract out the wormhole types here? they aren't needed outside of the wormhole crate right?

Base automatically changed from pyth-stylus-get-prices to main June 30, 2025 22:42
@ayushboss ayushboss merged commit 2fb67fe into main Jul 11, 2025
9 checks passed
@ayushboss ayushboss deleted the pyth-stylus-sdk-crate branch July 11, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants